Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Studio dvcyaml #709

Merged
merged 4 commits into from
Sep 14, 2023
Merged

Studio dvcyaml #709

merged 4 commits into from
Sep 14, 2023

Conversation

dberenbaum
Copy link
Collaborator

Make posts to studio drop dvc.yaml:: from plots

@dberenbaum dberenbaum changed the base branch from main to 484-30-release September 12, 2023 17:31
@dberenbaum dberenbaum removed the request for review from daavoo September 12, 2023 17:32
@dberenbaum dberenbaum marked this pull request as draft September 12, 2023 17:32
@codecov-commenter
Copy link

Codecov Report

Patch has no changes to coverable lines.

Files Changed Coverage
src/dvclive/studio.py ø
tests/test_post_to_studio.py ø

📢 Thoughts on this report? Let us know!.

@dberenbaum dberenbaum marked this pull request as ready for review September 12, 2023 17:49
Comment on lines +140 to +141
.dvc/
.dvcignore
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated, but I keep getting these generated when running tests

Copy link
Contributor

@daavoo daavoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should wait and bump the min required version of DVC, right?

@dberenbaum
Copy link
Collaborator Author

Yes, this depends on both iterative/dvc#9898 and https://github.com/iterative/studio/pull/7628. We can either wait to merge it into the 3.0 branch, or merge now and wait for those changes to release 3.0.

@dberenbaum
Copy link
Collaborator Author

Actually, we don't technically need a dvc version bump in dvclive, at least for this PR, since this only affects Studio. Probably good to do it anyway to avoid weird plots issues in 3.0, so I added it here.

@dberenbaum dberenbaum merged commit f6001f4 into 484-30-release Sep 14, 2023
11 checks passed
@dberenbaum dberenbaum deleted the studio-dvcyaml branch September 14, 2023 21:16
daavoo added a commit that referenced this pull request Sep 20, 2023
* live: Set new defaults `report=None` and `save_dvc_exp=True`.

* frameworks: Drop model_file.

* update examples

* Write to root dvc.yaml (#687)

* add dvcyaml to root

* clean up dvcyaml implementation

* fix existing tests

* add new tests

* add unit tests for updating dvcyaml

* use posix paths

* don't resolve symlinks

* drop entire dvclive dir on cleanup

* fix studio tests

* revert cleanup changes

* unify rel_path util func

* cleanup test

* refactor tests

* add test for multiple dvclive instances

* put dvc_file logic into _init_dvc_file

---------

Co-authored-by: daavoo <[email protected]>

* report: Drop "auto" logic.

Fallback to `None` when conditions are not met for other types.

* studio: Extract `post_to_studio` and decoulple from `make_report` (#705)

* refactor(tests): Split `test_main` into separate files.

Rename test_frameworks to frameworks.

* fix matplotlib warning

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Bump dvc and dvc-render

---------

Co-authored-by: dberenbaum <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
skshetry pushed a commit that referenced this pull request Sep 21, 2023
* live: Set new defaults `report=None` and `save_dvc_exp=True`.

* frameworks: Drop model_file.

* update examples

* Write to root dvc.yaml (#687)

* add dvcyaml to root

* clean up dvcyaml implementation

* fix existing tests

* add new tests

* add unit tests for updating dvcyaml

* use posix paths

* don't resolve symlinks

* drop entire dvclive dir on cleanup

* fix studio tests

* revert cleanup changes

* unify rel_path util func

* cleanup test

* refactor tests

* add test for multiple dvclive instances

* put dvc_file logic into _init_dvc_file

---------

Co-authored-by: daavoo <[email protected]>

* report: Drop "auto" logic.

Fallback to `None` when conditions are not met for other types.

* studio: Extract `post_to_studio` and decoulple from `make_report` (#705)

* refactor(tests): Split `test_main` into separate files.

Rename test_frameworks to frameworks.

* fix matplotlib warning

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* track dvcyaml file

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* drop unneeded relpath call

* drop extra make_report call

---------

Co-authored-by: daavoo <[email protected]>
daavoo added a commit that referenced this pull request Sep 21, 2023
* live: Set new defaults `report=None` and `save_dvc_exp=True`.

* frameworks: Drop model_file.

* update examples

* Write to root dvc.yaml (#687)

* add dvcyaml to root

* clean up dvcyaml implementation

* fix existing tests

* add new tests

* add unit tests for updating dvcyaml

* use posix paths

* don't resolve symlinks

* drop entire dvclive dir on cleanup

* fix studio tests

* revert cleanup changes

* unify rel_path util func

* cleanup test

* refactor tests

* add test for multiple dvclive instances

* put dvc_file logic into _init_dvc_file

---------

Co-authored-by: daavoo <[email protected]>

* report: Drop "auto" logic.

Fallback to `None` when conditions are not met for other types.

* studio: Extract `post_to_studio` and decoulple from `make_report` (#705)

* refactor(tests): Split `test_main` into separate files.

Rename test_frameworks to frameworks.

* fix matplotlib warning

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* track dvcyaml file

* Studio dvcyaml (#709)

* drop dvc.yaml prefix from studio plots

* refactor

* drop .dvc files

* dvc version bump

* drop unneeded relpath call

* drop extra make_report call

* test for git add dvc.yaml in exp run

---------

Co-authored-by: daavoo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants